package com.ap.core.bulkupload.handler;

import java.io.File;
import java.io.InputStream;

import com.ap.core.bulkupload.info.BulkUploadBaseInfo;
import com.ap.core.bulkupload.types.BulkFileUploadEnum;
import com.ap.core.bulkupload.types.BulkUploadInfoBuilderType;
import com.ap.core.exception.APCoreException;

/**
 * The Interface InfoBuilder.
 * @author Siva.Pochana
 */
public interface BulkUploadHandler {

	/**
	 * Populate info.
	 *
	 * @param bulkFileUploadEnum the bulk file upload enum
	 * @param inputStream the input stream
	 * @param infoBuilderType the info builder type
	 * @return the bulk upload base info
	 * @throws APCoreException the aP core exception
	 */
	BulkUploadBaseInfo populateInfo(BulkFileUploadEnum bulkFileUploadEnum,
			InputStream inputStream, BulkUploadInfoBuilderType infoBuilderType) throws APCoreException;
}
